<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:39:"./views/home/mobile/account/index.phtml";i:1627629214;s:71:"/www/wwwroot/10.168.1.202/public/views/home/mobile/common/ufooter.phtml";i:1625675066;}*/ ?>
﻿<html><head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title><?php echo !empty($site['seo_title'])?$site['seo_title']:''; ?>个人中心</title>

    <link rel="stylesheet" type="text/css" href="/static/home/mobile/css/geren.css">
        <!-- 弹出层 -->
        <link rel="stylesheet" href="/static/plugins/dialog/css/dialog.css" />
        <script src="/static/home/mobile/js/jquery.min.js"></script>
        <script src="/static/home/mobile/js/mui.min.js"></script>
        <script src="/static/plugins/dialog/lib/zepto.min.js"></script>
        <script src="/static/plugins/dialog/js/dialog.js"></script>
        <!-- 弹出层 -->
        <script type="text/javascript" src="/static/plugins/clipboard.min.js"></script>
        <script type="text/javascript" src="/static/home/mobile/js/global.js"></script>
        		<link rel="stylesheet" href="/static/home/mobile/css/bootstrap.css">
		<link rel="stylesheet" href="/static/home/mobile/css/font-awesome.min.css">
		<link href="/static/home/mobile/css/reset_5.css?v=1" rel="stylesheet" type="text/css" />
		<link href="/static/home/mobile/css/style.css?v=21019" rel="stylesheet" type="text/css" />
		<link rel="stylesheet" type="text/css" href="/static/home/mobile/css/new_page.css?v=2" />
		<link rel="stylesheet" href="/static/home/mobile/css/swiper.min.css" />

    <script src="/static/home/mobile/js/jsbridge-mini.js"></script>

	    <script type="text/javascript" src='/static/home/mobile/js/vconsole.min.js'></script>
    <script>
       // var vConsole = new VConsole();
    </script>

<style>
.l-center-pay{
 font-size: .47rem;
}
  .clearfix{
    clear:both;
  }
#sign{
    background: #cd6681;
    color: #fff;
    padding: 0.1rem .6rem;
    display: block;
    position: absolute;
    right: .5rem;
    top: 1.5rem;
    font-size: .5rem;
    border-radius: 1rem;
}
  .icon-right{
  		background-image: url('/static/home/mobile/images/jiantou.png');
		background-size: 60%;
   		background-repeat: no-repeat;
        float:right;
        height:23px;
    	width: 12px;
  }
  .person-content-new{
    /* background-color: #FDF7EF !important; */
  }
  .person-info-new{
    width:100%;
    height:auto;
    padding-bottom:10px;
    background:url('/static/home/mobile/images/background.png') no-repeat ;
    background-size:100% 180px;
    z-index:10;
    height:180px;
  }
  .person-header{
    width:100%;
    height:30px;
    padding-top: 15px;
  }
  .person-header-left{
    float:left;
    margin-left:10px
  }
  .person-header-left a img{
  	width:62%;
  }
  .person-header-right{
    float:right;
	margin-right:25px;
  }
  .person-header-right a img{
  	width:62%;
  }
  .header-right-icon{
  	width:20px;
    height:20px;
    background:red;
    color:#fff;
    border-radius: 50%;
	position: absolute;
    text-align:center;
    font-size:12px;
    top:5px;
    right:30px;
  }
  .person-vipimg{
  	background-image:url('/static/home/mobile/images/king01.png');
    background-size: 25%;
    background-repeat: no-repeat;
    background-position-x:right;
    background-position-y:top;
  }
  .person-novip{
  	background-image:url('/static/home/mobile/images/king02.png');
    background-size: 25%;
    background-repeat: no-repeat;
    background-position-x:right;
    background-position-y:top;

  }
  .person-Photo{
    height:70px;width:70px;
    float:left;
  }
  .person-Photo a{
  	float:left;
  }
  .postion-img{
	width: 60px;
    height: 60px;
    margin: 0 auto;
  }
  .person-Photo img{
    height:60px;
    width:60px;
  }
  .postion-img a{
    width:60px;
    height:60px;
    border-radius:50%;
/*   background-color: rgba(255,255,255,0.5); */
  }
  .spanvip{
    width:120px;
    height:35px;
    margin-top: -90px;
    float:right;
    background:#FEF3C6;
    background-image:url('/static/home/mobile/images/huiyuan02.png');
    background-repeat: no-repeat;
    background-size: 20px;
    background-position:10px,center;
    border-radius: 15px 0px 0px 15px;
  }
  .spanovip{
    width:120px;
    height:35px;
    margin-top: -90px;
    float:right;
    background:#FEF3C6;
  	background-image:url('/static/home/mobile/images/huiyuan01.png');
    background-repeat: no-repeat;
    background-size: 20px;
    background-position:10px,center;
    border-radius: 15px 0px 0px 15px;
    display:none;
  }
  .vipimg-icoin{
  	float:left;
    width:30%;
  }
  .vipimg-icoin img{
  	clear:both;
  }
  .spanvip a{
  	float:right;
    width:70%;
    text-align: center;
	line-height: 35px;
    color:#EDB24D;
  }
  .spanvip a span{
  	margin-left: -10px;
    color:#EDB24D;
  }
  .spanovip a{
   float:right;
    width:70%;
    text-align: center;
	line-height: 35px;
    color:#EDB24D;
  }
  .spanovip a span{
  	margin-left: -10px;
    color:#EDB24D;
  }
  .person-coin a, .person-coin span{
  	color:#8B6414;
  }
  .icon-def{
  	width: 28px;
	height: 32px;
    position:absolute;
    background-size: 60%;
    background-position: left,center;
  }
  .icon-pay{
  	background-image:url('/static/home/mobile/images/xianjin.png');
    background-repeat: no-repeat;
  }
  .icon-vip-maobi{
  	background-image:url('/static/home/mobile/images/maobi.png');
    background-repeat: no-repeat;
  }
  .person-reward-top{
 /*    background-image:url('/static/home/mobile/images/back-reward-img.png');
     background-repeat: no-repeat;
     background-size:100%; */
     margin-top:0px;
  }
  .person-reward-mid{
  	margin: 0 auto;
    width:95%;
    background:#222;
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .person-reward{
    padding-left:10px;
    padding-right:10px;
    padding-top: 0px;
    padding-bottom:10px;
  }
  .mui-navigate-right::after{
  	content: ''!important; 
  }
  .ul-table-new{
  	width: 100%;
	margin: 0 auto;
	border-radius: 10px;
  }

.person-list .mui-table-view-cell:after {
    background-color: #1A1A1A !important;
}
html, body, div{
vertical-align: middle;    
}
.ucardbt{
    width: 100%;
    display: block;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
}
.ucard{
     vertical-align: middle;
     margin: 0 0px;
     padding-bottom: 5px;
}
    
.ucard .card_body{
    text-align: left;
    width: 100%;
   position: relative;
    height: 200px;
    display: block;
 /*background: url(/static/home/mobile/images/mp.png) no-repeat; */
 background:#111;
 background-size: 100% 100%;
                    vertical-align: middle;
}
.ucard .card_body .person-Photo{
    height: 70px;
    width: 100%;
    display: block;
    text-align: left;
    padding: 20px 0 0 20px;
    vertical-align: middle;
    margin-top:40px;

}
.ucard .card_body .person-Photo .postion-img{
    height: 60px;
    width: 60px;
    display: inline-block;
}
.ucard .card_body .person-Photo .person-id {
    height: 60px;
    line-height:60px;
    display: inline-block;
    vertical-align: middle;
    font-size:16px;
}
.ucard .card_body .person-Photo .eveyday {

    margin-left: 10px;
    padding: 0 8px;
    float: none;
    color: #ffffff;
    border: 1px solid;
    cursor: pointer;
    text-align: center;
    width: 88px;
    display: inline-block;
    vertical-align: middle;
    border-radius: 8px;
}
.ucard .card_body .person-Photo .person-header-left {
    float: none;
    margin-left: 10px;
     display: inline-block;
     padding-left: 80px;
}
.ucard .card_body .person-Photo  .person-header-left a img {
   border: none;
   position: absolute;
    top: 30px;
    right: 30px;
}



.ucard .card_body .person-infos{
    padding-top: 5px;
    color: #ffffff;
    height: 40px;
    line-height: 50px;
    text-align: center;
}
.ucard .card_body .person-infos a{
        color: #ffffff;

}
.ucard .card_body .person-infos span{
    
    display: inline-block;
    width: 40%;
    line-height: 32px;
}
.ucard .card_body .person-btn{text-align:center;margin-top: 20px;}
.ucard .card_body .person-btn dl{
    
    display: inline-block;
}
.ucard .card_body .person-btn dl a{
   width: 75px;
    height: 30px;
    line-height: 30px;
    background: #ffffff;
    border-radius: 15px;
    display: block;
}
.ucard .card_body .person-btn dl a h6{}
.person-list li{width:25%;}
</style></head>



<body style="background:#111;">
    
    <div class="ucard mui-content">
        <div class="card_body">
             <div class="person-Photo" >
        	<div class="<?php echo !empty($msg_levels)?'person-vipimg':'person-novip'; ?> postion-img">
              <a href="/home/account/info.html">
                  <img src="<?php echo $member['avatar']; ?>" style="border:none;" onerror="this.src='/static/home/mobile/picture/user.png'" id="headimg">
              </a>
        	</div>
        	<div class="person-id"><?php echo $member['nickname']; ?></div>
        	<!--<div class="person-id">-->
         <!--         UID：<?php echo $member['uid']; ?>-->
         <!--         </div>-->
          <?php if(!$is_sign):?>
          <div class="eveyday" id="ajPax">
              每日签到
          </div>
          <?php else:?>
          <div class="eveyday">
              今日已签到
          </div>                  
          <?php endif;?>
                 <div class="person-header-left">
                            <a href="/home/account/info.html" class="header-left-a">
                              <img style="height:22px;width:22px;" src="/static/home/mobile/images/setting.png" alt="">
                            </a>
                 </div>

		</div>
		 <div class="clearfix"></div>
		<div class="person-infos" style="margin-top:10px;">
            <span class="yue">
              <a href="/home/account/myaccount.html">
                              <font style="font-size:20px;font-weight:bold;"><?php echo !empty($member['credit2'])?$member['credit2']:0; ?></font><br>余额(元)
              </a>
          </span>
          <span class="jf">

                       <a onclick="location.href='/home/account/credit.html'">
                          <font style="font-size:20px;font-weight:bold;"><?php echo !empty($member['credit1'])?$member['credit1']:0; ?></font><br>积分
                      </a>
           </span>
      </div>
       <div class="clearfix"></div>
       <!--<a style="background:#3F455E;height:60px;position:absolute;bottom:0px;left:0;right:0;overflow:hidden;display:block;" href="/home/vip">-->
       <!--    <img src="/static/home/mobile/images/vip-account.png" style="width:100%;">-->
       <!--</a>-->
       
    </div></div>
     <div class="clearfix"></div>
    <div class="person-reward-top">
      <div class="person-reward-mid">
        <div class="person-reward">
          <div class="mui-navigate-right" href="#" style="color:#fff;padding-top:10px;display:none">我的业务</div>
          <div class="zhicwl-aopsmt">
              <dl>
                  <a href="/home/recharge.html">
                      <dt><img src="/static/home/mobile/images/MyassetIcon.png" width="40px" height="20px"></dt>
                      <h6>我的资产</h6>
                  </a>
              </dl>
              <dl>
                  <a href="/home/account/withdraw.html">
                      <dt><img src="/static/home/mobile/images/Withdrawalsrecord.png" width="40px" height="20px"></dt>
                      <h6>点击提现</h6>
                  </a>
              </dl>
              <dl>
                  <a href="/home/invite/silver.html">
                      <dt><img src="/static/home/mobile/images/MyfriendsIcon.png" width="40px" height="20px"></dt>
                      <h6>我的好友</h6>
                  </a>
              </dl>
              <dl>
                  <a href="/home/vip">
                <dt><img src="/static/home/mobile/images/OpenmemberIcon.png" width="40px" height="20px"></dt>
                      <h6>开通会员</h6>
                  </a>
              </dl>
          </div>

      </div>
      </div> 
       <a style="background-image: url(/static/home/mobile/images/invite_friend.png);display:block; background-position: 0% 0%; background-size: 100% 100%; background-repeat: no-repeat;height:60px;width:95%;margin:0 auto 10px;"
         href="/home/invite/poster.html"></a>
     
  <div class="mui-content person-content person-content-new" style="display:none">

	<div class="person-info-new">


      <div class="person-header" style="display:none;">
        <div class="person-header-left">
          <a href="/home/account/info.html" class="header-left-a">
          	<img src="/static/home/mobile/images/Iconsettings.png" alt="">
          </a>
        </div>
        <div class="person-header-right" >
           <a href="/home/account/chatlist" class="header-right-a">
             <img src="/static/home/mobile/images/xiaoxi.png" alt="">
             <i class="header-right-icon"><?php echo $member['chat_num']; ?></i>
          </a>
        </div>
      </div>
      <div class="clearfix"></div>
<div style="width:90%;margin-left:5%; margin-top:30px;height:70px;">
      <div class="person-Photo" style="width:25%;">
        	<div class="<?php echo !empty($msg_levels)?'person-vipimg':'person-novip'; ?> postion-img">
              <a href="/home/account/info.html">
                  <img src="<?php echo $member['avatar']; ?>" style="border:none;" onerror="this.src='/static/home/mobile/picture/user.png'" id="headimg">
              </a>
        	</div>

		</div>
      <div class="person-infoRight" style="float:left;width:75%;padding-left:6px;color:#fff;text-align:left;">
              <div class="person-id" style="text-align:left;line-height:25px;margin-top:6px;">
                  <div style="background: none;float:left;">
                  UID：<?php echo $member['uid']; ?>
                  </div>
                  <?php if(!$is_sign):?>
                  <div class="eveyday" id="ajPax">
                      每日签到
                  </div>
                  <?php else:?>
                  <div class="eveyday">
                      今日已签到
                  </div>                  
                  <?php endif;?>
                      <div style="float:right;text-align:right;padding-top:6px;margin-right:10px;">
                          <div class="person-header-left">
                            <a href="/home/account/info.html" class="header-left-a">
                              <img style="height:22px;width:22px;" src="/static/home/mobile/images/Iconsettings.png" alt="">
                            </a>
                          </div>
                      </div>
        			<div style="clear:both;"></div>
              </div>

              <div  style="line-height:25px;font-size: 12px;width:">
                  <div style="float:left;"><?php echo $member['nickname']; ?></div>
                  <!--<div style="float:left;background: #4b673e;width:50%;height:10px;border-radius:4px;margin-top:6px;margin-left:6px;">
                      <div style="width:70%;height:10px;background: #cce498;border-radius:4px;"></div>
                  </div>
                  <div style="float:left;margin-left:6px;line-height:20px;">11/50</div>-->

              </div>
              <!--
            <div class="person-userName">
                      <span id="nickname" style="display:block;text-align:left;color:#fff;"><?php echo !empty($member['nickname'])?$member['nickname']:$member['username']; ?>【<?php echo !empty($msg_levels)?$msg_levels:'普通会员'; ?>】</span>
              </div>
              -->
  	  </div>




</div>
      <div class="person-coin" style="display:none;">
          <a href="/home/account/myaccount.html">
                      <span class="l-center-pay">
                          <i class="icon-pay icon-def"></i>
                          <var class="span-gold" style="margin-left: 20px;"><?php echo !empty($member['credit2'])?$member['credit2']:0; ?></var>元
                          <!--                    我的余额-->
                      </span>
          </a>
          <span class="y-vip-menu">

                       <a onclick="location.href='/home/account/credit.html'">
                          <i class="icon-vip-maobi icon-def"></i>
                          <span class="l-unVip" style="margin-left: 5px;"><?php echo !empty($member['credit1'])?$member['credit1']:0; ?>积分 </span>
                      </a>
           </span>
      </div>
     </div>

    <div class="person-reward-top">
      <div class="person-reward-mid">
      	          <div class="person-reward">
          <a class="mui-navigate-right" href="#" style="color:#666;display:none;"><i class="icon-right"></i>#</a>
          <div class="zhicwl-aopsmt">
              <dl>
                  <a href="/home/recharge.html">
                      <dt><img src="/static/home/mobile/images/MyassetIcon.png" width="60px" height="40px"></dt>
                      <h6>我的资产</h6>
                  </a>
              </dl>
              <dl>
                  <a href="/home/account/withdraw.html">
                      <dt><img src="/static/home/mobile/images/Withdrawalsrecord.png" width="60px" height="40px"></dt>
                      <h6>点击提现</h6>
                  </a>
              </dl>
              <dl>
                  <a href="/home/invite/silver.html">
                      <dt><img src="/static/home/mobile/images/MyfriendsIcon.png" width="60px" height="40px"></dt>
                      <h6>我的好友</h6>
                  </a>
              </dl>
              <dl>
                  <a href="/home/vip">
                <dt><img src="/static/home/mobile/images/OpenmemberIcon.png" width="60px" height="40px"></dt>
                      <h6>开通会员</h6>
                  </a>
              </dl>
          </div>

      </div>
      </div>
    </div>



    </div>

	 <script type="text/javascript">
            $(function () {
                $('#sign').click(function () {
                    /*$.post(
                        window.location.href,
                        {},
                        function (res) {
                            message(res.message,res.redirect,res.type);
                        }
                    );*/
                    window.location.href = '/home/signin.html';
                });
            });
        </script>
	<script>
		function headimg(){
			$.post("/index.php?m=&c=Ajax&a=sync_profile",function(d){
				if(d){
					if(d.status){
						$('#headimg').attr('src',d.info.headimg);
						$('#nickname').html(d.info.nickname);
						bh_msg_tips('更新头像成功')
					}else{
						bh_msg_tips(d.info);
					}
				}else{
					bh_msg_tips('请求失败！');
				}
			})
		}

	</script>

	<style>
	.zhicwl-aopsmt{
		overflow: hidden;
		padding-top: 12px;
	}
	.zhicwl-aopsmt dl{
		width: 25%;
		text-align: center;
		float: left;
	}
	.zhicwl-aopsmt dl a h6{
		color: #fff;
		font-size: 12px;
		display: block;
		line-height: 1.5;
		padding-top: 0px;
	}
	.mui-table-view {

        background-color: #1a1a1a;
        display:flex;
        flex-direction: row !important;
        flex-wrap: wrap;
    }
    .mui-table-view-cell.person-listLi a{font-size:13px;}
    .mui-ios .mui-table-view-cell{width:33%;text-align:center;}
    .mui-table-view-cell.person-listLi i{display:block;margin:auto;margin-bottom:5px;}
    .right-icon{background:none !important;}
    .mui-table-view-cell.person-listLi a {
        color: #fff!important;
        text-align: center;
    }
  .person-list{
    width:95%;
    margin:auto;
    border:0px solid #272928;
    background:#1a1a1a;
    border-radius:4px;
    padding-top:5px;
    margin-bottom: 80px;
    margin-top:10px;
  }
  .right-icon{
    background: url(/static/home/mobile/images/r.png) right 6px no-repeat;background-size:32px 32px;
  }
.icon-source-list{
    width: 26px;
    height: 26px;
    display: inline-block;
    vertical-align: top;
    background-repeat: no-repeat;
    background-size: 26px;
    background-position: center;
}
   .left-icon1{
    background-image: url(/static/home/mobile/images/RewardIcon.png) !important;
  }

     .left-icon2{
    background-image: url(/static/home/mobile/images/MytasksIcon.png) !important;
  }

     .left-icon3{
    background-image: url(/static/home/mobile/images/ReportIcon.png) !important;
  }

     .left-icon4{
    background-image: url(/static/home/mobile/images/Mymessageicon.png) !important;
  }

     .left-icon5{
    background-image: url(/static/home/mobile/images/RewardIcon.png) !important;
  }

  .left-icon6{
    background-image: url(/static/home/mobile/images/ContactusIcon.png) !important;
  }

  .left-icon7{
    background-image: url(/static/home/mobile/images/tutorialsIcon.png) !important;
  }
    .left-icon8{
    background-image: url(/static/home/mobile/images/FeedbackIcon.png) !important;
  }
    .left-icon6{
    background-image: url(/static/home/mobile/images/ContactusIcon.png) !important;
  }  .left-icon9{
    background-image: url(/static/home/mobile/images/0033_on.png) !important;
  }


.mui-ios .mui-table-view-cell{
  line-height:26px;
  padding:12px;
}
	</style>

	<div class="person-list y-person-list" >
          <div class="mui-navigate-right" href="#" style="color:#fff;padding:10px 0 10px 10px;display:none;">更多业务</div>
		<ul class="mui-table-view ul-table-new">
          	<li class="mui-table-view-cell person-listLi right-icon " >
				<a class="mui-navigate-right" href="/home/task/create"><i class="icon-source-list left-icon9"></i>发布</a>
			</li>
			<li class="mui-table-view-cell person-listLi right-icon " >
				<a class="mui-navigate-right" href="/home/mytask.html"><i class="icon-source-list left-icon1"></i>发布管理</a>
			</li>
			<li class="mui-table-view-cell person-listLi right-icon">
				<a class="mui-navigate-right" href="/home/mytaskjoin.html"><i class="icon-source-list left-icon2"></i>我的接单</a>
			</li>
        <li class="mui-table-view-cell person-listLi right-icon " >
        <a class="mui-navigate-right" href="/home/account/chatlist"><i class="icon-source-list left-icon4"></i>我的消息(<?php echo (isset($member['chat_num']) && ($member['chat_num'] !== '')?$member['chat_num']:'0'); ?>)</a>
      </li>
		<li class="mui-table-view-cell person-listLi  right-icon" >
             <a class="mui-navigate-right" href="/home/account/complaintlist.html"><i class="icon-source-list left-icon3"></i>举报维权(<?php echo (isset($complaint_num) && ($complaint_num !== '')?$complaint_num:'0'); ?>)</a>
            </li>
             <li class="mui-table-view-cell person-listLi right-icon">
                <a class="mui-navigate-right" href="/home/helpinfo/detail/id/13.html"><i class="icon-source-list left-icon6"></i>联系客服</a>
            </li>
           <li class="mui-table-view-cell person-listLi right-icon">
                <a class="mui-navigate-right" href="/home/helpinfo"><i class="icon-source-list left-icon7"></i>帮助中心</a>
            </li>
     <li class="mui-table-view-cell person-listLi right-icon">
        <a class="mui-navigate-right" href="/home/fans/follow"><i class="icon-source-list left-icon8"></i>粉丝关注</a>
      </li>
          <li class="mui-table-view-cell person-listLi right-icon" id="downloadAppBtn" style="display:none;">
            <a class="mui-navigate-right" href="http://www.baidu.com"><i class="icon-source-list left-icon8"></i>下载APP</a>
          </li>
		</ul>

    <!--<div  style="width:100%;text-align: center;margin-bottom:80px;margin-top:20px;font-size: 12px;color:#ccc;">
        <div>Copyright@2014-2020</div>
        <div>闲猫 版权所有</div>

    </div>!-->
	</div>


	<style>
        .van-overlay{
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,.7);
            z-index: 1000;
        }
        .openwindows{
            position: fixed;
            top: 50%;
            left: 50%;
            width: 85%;
            font-size: 16px;
            overflow: hidden;
            transition: .3s;
            background-color: #fff;
            transform: translate3d(-50%,-50%,0);
            backface-visibility: hidden;
            width: 340px;
            border-radius: 6px;
            box-sizing: border-box;
            z-index: 1002;
        }
        .openwindows-title{
            content: " ";
            pointer-events: none;
            box-sizing: border-box;
            top: -50%;
            left: -50%;
            right: -50%;
            bottom: -50%;
            border-top-width: 1px;
            border-top-style: solid;
            border-top-color: #ebedf0;
            line-height: 50px;
            text-align: center;
            color: #834100;
            font-weight: 700;
            font-size: 16px;
            padding: 0 15px;
            background-image: linear-gradient(-30deg,#fde03f,#fde03f);
        }
        .openwindws-content{
            margin-top: 0;
            max-height: 60vh;
            overflow-y: auto;
            width: 100%;
            background-color: #fff;
            clear: both;
        }
        .input-txt{ text-align: center;}
        .buton0k{
            width: 100%;
            height: 50px;
        }
        .buton0k button{
            width: 85%;
            background: #fde03f;
            border: none;
            line-height: 40px;
            font-size: 15px;
            height: 40px;
            margin: 0 auto;
            border-radius: 40px;
            position: relative;
            display: block;
            text-align: center;
            box-sizing: border-box;
            flex: 1;
            padding: 0;
            color: #fff;
        }
        .btn-txt{
            display: flex;
            align-items: center;
            justify-content: center;
            line-height: 40px;
            font-size: 15px;
            color: #834100;
        }
		.logout{
		    display: block;
			background: #ffa921;
			color: #fff;
			width: 50%;
			height: 1.35rem;
			text-align: center;
			line-height: 1.35rem;
			border-radius: 2rem;
			margin: 1rem 25% .5rem 25%;
			font-size: .5rem;
		}
		.logout:link,a:visited{
            color: #fff;
        }
        .logout:hover,a:focus,a:active{
            color: #fff;
        }
	</style>
</div>
<script>
    $(document).ready(function(){
        setTimeout(function(){
            if(typeof(api) == "undefined"){
	        $("#downloadAppBtn").show();
	        }
            
        },50)
       
    })
       
    /*function upnickname(id) {
        if(id!="")
        {
            var nickname=$("#new_nickname").val();
            if(nickname!="")
            {
                if(nickname.length>6)
                {
                    message("用户昵称长度不能大于6！","","error")
                }
                else
                {
                    $.post("/home/account/upname",{uid:id,nickname:nickname},function (res) {
                        if(res.type=="success")
                        {
                            message("添加成功！","/home/account.html","success")

                        }
                    })
                }

            }
            else
            {
                message("用户昵称不能为空！","","error")
            }
        }

    }*/
    function autoBuy(){
        if($('#autoBuy').prop('checked')){
            $('#autoBuy').prop("checked",true);
        }else{
            $('#autoBuy').prop("checked",false);
        }
        $.post("/index.php?m=&c=Ajax&a=autoBuy",function(d){
            if(!d){
                bh_msg_tips('请求失败！');
            }
        })
    }
</script>
<style>
	.footer-icon-join{
		display: block;
		background: url(./Public/home/images/joinus.png) no-repeat;
		background-size: 100%;
		width: 30px;
		height: 30px;
		margin: 0 auto;
		vertical-align: top;
		position: absolute;
		left: 50%;
		margin-left: -16px;
		top: 4px;
	}
	.mui-active>.footer-icon-join{
		display: block;
		background: url(./Public/home/images/joinuss.png) no-repeat;
		background-size: 100%;
		width: 30px;
		height: 30px;
		margin: 0 auto;
		vertical-align: top;
		position: absolute;
		left: 50%;
		margin-left: -16px;
		top: 4px;
	}
</style>
  <style>
    #footer-bar li {
    width: 25%;
    float: left;
    
}
#footer-bar{background:#0d0d0d}
</style>

<footer id="footer-bar" lang="<?php echo $controller; ?>">
      <ul id="tabbar">
      <li><a href="/">
      <img src="/static/home/mobile/images/0011<?php if(in_array($controller,array('index'))): ?>_on<?php endif; ?>.png">
      <b>首页</b></a></li>
      <li><a href="/home/task/category.html"><img src="/static/home/mobile/images/0022<?php if(in_array($controller,array('task'))): ?>_on<?php endif; ?>.png"><b>大厅</b></a></li>

      <li><a href="/home/invite.html"><img src="/static/home/mobile/images/0044<?php if(in_array($controller,array('connection'))): ?>_on<?php endif; ?>.png"><b>推广</b></a></td>
      <li><a href="/home/account.html"><img src="/static/home/mobile/images/0055<?php if(in_array($controller,array('account','charge','fans','vip','feedback','feedback','notice','help'))): ?>_on<?php endif; ?>.png"><b>我的</b></a></li>
      </ul>
</footer> 
<script>
    mui('.tophref').on('tap','a',function(){document.location.href=this.href;});
	$(document).ready(function(){
	    
        $('.nav-footer a').each(function(){
            if($($(this))[0].href==String(window.location))
                $(this).addClass('mui-active');
        });
    })

	function bh_msg_tips(msg) {
		var oMask = document.createElement("div");
		oMask.id = "bh_msg_lay";
		oMask.style.position = "fixed";
		oMask.style.left = "0";
		oMask.style.top = "50%";
		oMask.style.zIndex = "100";
		oMask.style.textAlign = "center";
		oMask.style.width = "100%";
		oMask.innerHTML = "<span style='background: rgba(0, 0, 0, 0.65);color: #fff;padding: 10px 15px;border-radius: 3px; font-size: 14px;'>" + msg
			+ "</span>"; document.body.appendChild(oMask);
		setTimeout(function () {
			$("#bh_msg_lay").remove();
		}, 2000);
	}
</script>
<script>
    $(function(){
        $('#ajPax').click(function(){
            $.post(
                  '/index.php/home/account/index',
                  {
                  //	data:obj
                  // userinfo:JSON.parse(obj.userinfo)
                  },
                function (ret) {
                    console.log(ret);
                    message(ret.message,ret.redirect,ret.type);
                },'json'
            );
        });
    });
</script>


</body></html>